import { request } from "@/utils/request";
import type { ConsultOrderListParams, ConsultOrderPage } from '@/types/consult'
export const getConsultOrderListAPI = (params: ConsultOrderListParams) =>
  request<ConsultOrderPage>('/patient/consult/order/list', 'GET', params)
  export const cancelOrderAPI = (id: string) => request(`/patient/order/cancel/${id}`, 'PUT')
  export const deleteOrderAPI = (id: string) => request(`/patient/order/${id}`, 'DELETE')